<?php
/**
 * 价格历史模型
 * @author 王勇程 <laughskydragon@qq.com>
 */

namespace app\common\model;

use app\common\model\ModelBase;

class PriceHistory extends ModelBase
{
    /**
     * 字段信息
     */
    protected $schema = [
        'id' => 'int',
        'product_id' => 'int',
        'price_date' => 'date',
        'price' => 'decimal',
        'change_rate' => 'decimal',
        'change_amount' => 'decimal',
        'create_time' => 'datetime',
        'update_time' => 'datetime'
    ];
}